Finds the only item with the specified key value and throws an exception if there is not exactly one item with that key value.
Namespace:
C1.LiveLinq.IndexingAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public virtual T FindSingle( TKey key ) |
Visual Basic |
---|
Public Overridable Function FindSingle ( _ key As TKey _ ) As T |
Parameters
- key
- Type: TKey
The key value to search for.